#! /home/ttao/anaconda3/envs/luffycity/bin/python
"""首行指定运行当前代码的python解释器,写完整绝对路径"""

import os, sys
from faker import Faker

faker = Faker(["zh_CN"])
user = faker.unique.name()
print(f"hello，{user}")
# python获取终端参数
try:
    # dir 接收命令行的参数
    dir = sys.argv[1]  # 0 ==> ./test1.py    1 ==> user
except Exception as e:
    dir = "2021"

print(dir)
